<?php
require_once 'mysql.php';
class phase 
{
	var $phid;
	var $pid;
	var $name;
	var $description;
		
	function phase()
	{
		
	}
	function phase_sum_ETC()
	{
		$q1 = 'SELECT SUM(t.ETC) FROM `task` WHERE phid = '.$this->phid ;
		$result = mysql_fetch_row(query($q1));
	}
}
?>